package cn.zjweu.dao;

import cn.zjweu.domain.DishCategory;

import java.util.List;

public interface CategoryDao {
    List<DishCategory> findCategory();

    DishCategory findCategoryById(int categoryId);

    void editCategoryById(int categoryId, String categoryName);

    boolean delCategoryById(int categoryId);

    boolean addCategory(String categoryName);
}
